//
//  ZRBaseViewController.m
//  SinaByOC
//
//  Created by 张锐 on 16/3/15.
//  Copyright © 2016年 zhangr. All rights reserved.
//

#import "ZRBaseViewController.h"

@interface ZRBaseViewController ()



@end

@implementation ZRBaseViewController

-(void)loadView{
    
    if ([[NSUserDefaults standardUserDefaults] boolForKey:@"isLogin"]) {
        
        [super loadView];
        
    }else{
    
        self.visitor = [[ZRVisitorView alloc]init];
        
        self.view = self.visitor;
    }
}

- (void)viewDidLoad {
    
    [super viewDidLoad];

}




@end
